#include "stdio.h"
/*
* I_2_2.c
*
*  Created on: April, 9, 2009
*      Author: yimingliu@fudan.edu.cn
*/
void funI_2_2()
{
	int max,i,j,r,c;
	static int a[3][4]={{12,9,-10,28},{31,19,10,-3},{15,46,41,-9}};
	max=a[1][1];
	r=0;
	c=0;
	for(i=0;i<3;i++)
	{
		for(j=0;j<4;j++)
		{
			if(a[i][j]>max)
			{
				max=a[i][j];
				r=i;
				c=j;
			}
		}
	}
	printf("max=%d, row=%d, column=%d \n",max,r,c);
}